import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;


public class Control implements ActionListener {
	
	public SortView sv = new SortView();
	public void doStuff(){
		sv.BucketButton.addActionListener(this);
		sv.BeadButton.addActionListener(this);
		sv.BucketButton.setActionCommand("1");
		sv.BeadButton.setActionCommand("2");
	}

	
	public static void main(String[] args)
	{
		Control c = new Control();
		c.doStuff();
	}
	
	public void actionPerformed(ActionEvent e){
		if(e.getActionCommand().equals("1"))
		{
			
		}
		else if(e.getActionCommand().equals("2"))
		{
			
		}
	}
}
